/**
 */
package base.impl;

import base.Action;
import base.BasePackage;
import base.RealAction;
import base.RealActuator;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Real Action</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link base.impl.RealActionImpl#getMoteursNecessaires <em>Moteurs Necessaires</em>}</li>
 *   <li>{@link base.impl.RealActionImpl#getNom <em>Nom</em>}</li>
 *   <li>{@link base.impl.RealActionImpl#getActionsCorrespondantes <em>Actions Correspondantes</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class RealActionImpl extends CDOObjectImpl implements RealAction {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected RealActionImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return BasePackage.Literals.REAL_ACTION;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<RealActuator> getMoteursNecessaires() {
		return (EList<RealActuator>)eGet(BasePackage.Literals.REAL_ACTION__MOTEURS_NECESSAIRES, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getNom() {
		return (String)eGet(BasePackage.Literals.REAL_ACTION__NOM, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setNom(String newNom) {
		eSet(BasePackage.Literals.REAL_ACTION__NOM, newNom);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Action> getActionsCorrespondantes() {
		return (EList<Action>)eGet(BasePackage.Literals.REAL_ACTION__ACTIONS_CORRESPONDANTES, true);
	}

} //RealActionImpl
